package com.bdd.jpa.util.entity;

import lombok.Data;

/**
 * @Author Bdd
 * @Description
 * @Date 2019/9/24 18:02
 */
@Data
public class ParamsObject {
    /**
     * 参数类型
     */
    String name;
    /**
     * 参数值
     */
    Object value;

    public ParamsObject(String name, Object value){
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public Object getValue() {
        return value;
    }

    @Override
    public String toString() {
        return "ParamsObject{" +
                "name='" + name + '\'' +
                ", value=" + value +
                '}';
    }
}
